/*
 * File:    ErrorCheck.h
 * Project:	HobbyPilotFirmware (HPF)
 * Author:  Wouter van Verre
 *
 * Created on March 18, 2011, 2:29 PM
 */

/* ErrorCheck.h
 *
 * This file checks for errors in user settings.
 * This file should be included in every header file dealing with user settings.
 * This file should be included at the end of the user settings.
 */

#ifndef __ERRORCHECK_H
#define __ERRORCHECK_H

#if (NUM_CHAN_IN > 4)
	#error "The number of input channels cannot be more than 4."
	#error "Please change NUM_CHAN_IN in Defines_RadioControl.h."
#endif

#if (NUM_CHAN_OUT > 4)
	#error "The number of output channels cannot be more than 4."
	#error "Please change NUM_CHAN_OUT in Defines_RadioControl.h."
#endif

#endif
